package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.SchoolIntendant;
import com.xmy.cultivate.mapper.SchoolIntendantMapper;
import com.xmy.cultivate.service.ISchoolIntendantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 校区主管表 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-09
 */
@Service
public class SchoolIntendantServiceImpl extends ServiceImpl<SchoolIntendantMapper, SchoolIntendant> implements ISchoolIntendantService {

    @Autowired
    SchoolIntendantMapper schoolIntendantMapper;

    @Override
    public String getSchoolIdsForTeacherId(Integer yearPart,
                                           Integer quarterNum,
                                           Long teacherId,
                                           Integer type){
        return schoolIntendantMapper.getSchoolIdsForTeacherId(yearPart,quarterNum,teacherId,type);
    }
}
